home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / sbbs_116.zip / STRUCT.116 < prev    next >
Text File  |  1992-05-07  |  38KB  |  962 lines

  1. Type
  2.   MsgToIdxRecord = String[35];
  3.   FlagType = Array[1..4] of Byte;
  4.   Msgtxtrecord = String[255];
  5.   Lastreadrecord = Array[1..200] of integer;
  6.  
  7.   LineIdxRec = Record                                 (* SUSERON.BBS *)
  8.                  User:                  MsgToIdxRecord;
  9.                  Attribute,
  10.                  Status:                Byte;
  11.                  Baud:                  Word;
  12.                  City:                  String[25];
  13.                  Infobyte:              byte;
  14.                  ExtraSpace:            Array[1..9] of byte;
  15.                End;
  16.  
  17. (*  Attribute :
  18.  
  19.      Bit 0 = Line in use
  20.          1 = Do not disturb mode
  21.          2 = waiting for call
  22.  
  23.     Status (Not bit-mapped) :
  24.  
  25.      Nr  0 = Doing nothing
  26.          1 = Downloading file(s)
  27.          2 = Uploading file(s)
  28.          3 = Reading messages
  29.          4 = Entering message (also onlinemsg)
  30.          5 = Chatting with SysOp
  31.          6 = Using external program, etc...
  32.          7 = Logging on
  33.          8 = using qwk system
  34.          9 = browsing filelist
  35.         10 = In node chat (conference number is in infobyte)
  36. *)
  37.  
  38.   NameIdxRec = Record                                 (* NAMEIDX.BBS *)
  39.                  NameCRC32:            LongInt;
  40.                  AliasCRC32:           LongInt;
  41.                  Attrib:               Byte;
  42.                End;
  43.  
  44.   BoxListRec = Record                                 (* BBSLIST.BBS  *)
  45.                  BBSName:              String[40];
  46.                  Sysopname:            MsgToIdxRecord;
  47.                  Number:               String[15];
  48.                  Baud:                 Word;
  49.                  OpenTimes:            String[11];
  50.                  Net:                  String[15];
  51.                  BBSSoft:              String[10];
  52.                  Other:                String[60];
  53.                  ExtraSpace:           Array[1..150] of byte;
  54.                End;
  55.  
  56.   FLSearchRec  = Record                               (* FLSEARCH.BBS *)
  57.                    Name:               String[60];
  58.                    Directory:          String[79];
  59.                    Security:           Integer;          
  60.                    Flags:              Flagtype;
  61.                    PFilesSec:          Integer;   { Not yet used }
  62.                    PFlags:             Flagtype;  { Not yet used }
  63.                    Attrib:             Byte;
  64.                    Age:                Byte;
  65.                    ListName:           String[67];    (* If begins with *
  66.                                                          character then the
  67.                                                          rest of the string
  68.                                                          shows the upload
  69.                                                          path *)
  70.                    ExtraSpace:         Array[1..30] of Byte;
  71.                  End;
  72. (*  Attrib:
  73.  
  74.       Bit 0  : Exclude from template
  75.       Bit 1  : No downloads  { Used in template system only }
  76.       Bit 2  : No uploads    { Used in template system only }
  77.       Bit 3  : No virus check
  78.       Bit 4  : No dupe scan
  79.       Bit 5  : No new files check
  80.       Bit 6-7: Unused
  81.  
  82. *)
  83.  
  84.   DoorRec = record
  85.               Name:       String[35];                 (* DOORCFG.BBS *)
  86.               CmdLine:    String[127];
  87.               Security:   Word;
  88.               Flags:      Flagtype;
  89.               StartTime,
  90.               EndTime:    String[5];
  91.               Active:     Boolean;
  92.               ExtraSpace: Array[1..30] of Byte;
  93.             End;
  94.  
  95.  
  96.   CommentRecord = Record                              (* COMMENT.BBS  *)
  97.                     Txt      : Array[1..2] of String[76];
  98.                     FromName : MsgToIdxRecord;
  99.                     FromCity : String[25];
  100.                     PostTime : String[5];
  101.                     PostDate : String[8];
  102.                   End;
  103.  
  104.   LastCallerRec = Record                              (* SCALLERS.BBS *)
  105.                     Name:              MsgToIdxRecord;
  106.                     City:              String[25];
  107.                     Line,
  108.                     Age:               Byte;
  109.                     Baud:              Word;
  110.                     LastDate:          String[8];
  111.                     LogOn,
  112.                     LogOff:            String[5];
  113.                   End;
  114.  
  115.   ExtraConfig = Record                                 (* SCONFIG.BBS *)
  116.                    SystemPath,
  117.                    MsgBasePath,
  118.                    TempPath:            String[66];
  119.                    RedirectDevice:      String[12];
  120.                    Resp19200,
  121.                    Resp38400:           String[40];
  122.                    ShowSecurity:        Boolean;
  123.                    ShowPswdAtLogon:     Boolean;
  124.                    BetaCode:            Longint;
  125.                    Unused:              Array[1..200] of boolean;
  126.                    Empty1:              Array[1..284] of byte;
  127.                    AllowCat:            Boolean;
  128.                    Answerboard:         Byte;
  129.                    Use7bitChars:        Boolean;
  130.                    BufferSize:          Word;
  131.                    Empty2:              Array[1..45] of byte;
  132.                    EntryColor:          Byte;
  133.                    FilesBeforeRatio:    Byte;
  134.                    MinSpace:            Word;
  135.                    ClearTemp:           Boolean;
  136.                    Empty3:              Array[1..163] of byte;
  137.                    UseAliasSystem:      Boolean;
  138.                    Ansilogon:           Byte; {0 = No,1 = Yes,2 = Auto detect}
  139.                    ExcludeSysOp:        Boolean;
  140.                    Empty4:              Array[1..122] of byte;
  141.                    AltFkeys:            Array[1..10] of string[60];
  142.                    Checkfiles:          Boolean;
  143.                    PasswordBoard:       Byte;
  144.                    Alt_J_Swaptoems:     Boolean;
  145.                    MaxTimeInBank:       Word;
  146.                    NoBirthDayAsk:       Boolean;
  147.                    MaxDescLines:        Byte;
  148.                    Empty5:              Array[1..45] of byte;
  149.                    FastMailCheck:       Boolean;
  150.                    DefaultColors:       Array[1..10] of byte;
  151.                    Empty6:              Array[1..45] of byte;
  152.                    LinesInSystem:       Byte;
  153.                    CommonDir:           String[79];
  154.                    VersionNumber:       Word;
  155.                    FullScrChatBaud:     Word;
  156.                    PressEnterColor:     Byte;
  157.                    AreaSelectColor:     Array[1..3] of byte;
  158.                    StatusLineColor:     Byte;
  159.                    VirusChkMode:        Byte;
  160.                    WorkPath:            String[79];
  161.                    WatchCDatDos:        Boolean;
  162.                    UseCtrlX:            Boolean;
  163.                    MsgAfterPageBoard:   Byte;
  164.                    SearchAliases:       Boolean;
  165.                    EchoConvert:         Boolean;
  166.                    SwapAtPackers:       Boolean;
  167.                    InternalProtocols:   Byte;
  168.                    { bit 0 : Zmodem
  169.                      bit 1 : Ymodem batch
  170.                      bit 2 : Xmodem
  171.                      bit 3 : Xmodem 1K (Ymodem)
  172.                      bit 4 : Xmodem 1K G
  173.                      bit 5 : Ymodem-g }
  174.                    FirstMenuInSystem:   String[8];
  175.                    ColoredQuoteText:    Boolean;
  176.                    AddUploadersName:    Boolean;
  177.                    DaysUntilExpiration: Word;
  178.                    QWKBBSID:            String[6];
  179.                    QWKDefaultBoard:     Byte;
  180.                    QwkMaxNrToPack:      Integer;
  181.                    StatuslineStr:       Array[1..2] of string[100];
  182.                    Location:            String[40];
  183.                    UsPhoneNrFormat:     Boolean;
  184.                    DlCounterLBracket,
  185.                    DlCounterRBracket:   Char;
  186.                    QWKAllowTagLines:    Byte; {0=no, 1=yes, 2=only local areas}
  187.                    LogonSecLvl:          Word;
  188.                    LogonAge:          Byte;
  189.